package top.buyibuyi.course.dao;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import top.buyibuyi.course.pojo.ChooseCourse;

@Mapper
public interface AddChooseDao {

    @Insert("insert into choosecourse (cname,ajobn,grade,mininum,brief,week,sectionnum,classroomn,aname,maxnum,courseid) " +
            "values (#{cname},#{ajobn},#{grade},#{mininum},#{brief},#{week},#{sectionnum},#{classroomn},#{aname},#{maxnum},#{courseid})")
    Boolean addChoose(ChooseCourse chooseCourse);
}
